<%@ page import="com.ant.myagile.Team" %>
<div>
<div class= "avatar1">
	<div class="fieldcontain ${hasErrors(bean: team, field: 'logo', 'error')} ">
		<label for="logo">
			<g:message code="team.logo.label" default="Logo" />		
		</label>
	<%--	<g:textField name="image" value="${team?.logo}"/>--%>
		<input type="file" name="image" /> 
	</div>
</div>

<ol class="property-list team" style="list-style-type: none">

	<li class="fieldcontain ${hasErrors(bean: team, field: 'teamName', 'error') } required">
		<label for="teamName">
			<g:message  code ="team.teamName.label" default="Team Name"/>
			<span class="required-indicator">*</span>
		</label>
		<g:textField name="teamName" value="${team?.teamName}"/>
			<%-- 	<input type="text" name="teamName"/> --%>
	</li>
	
	<li class="fieldcontain ${hasErrors(bean: team, field: 'mailGroup', 'error') } required">
		<label for="mailGroup">
			<g:message  code ="team.mail.label" default="Group Mail"/>
			<span class="required-indicator">*</span>
		</label>
		<g:textField name="mailGroup" value="${team?.mailGroup}"/>
	<%-- 	<input type="text" name="mailGroup"/> --%>
	</li>
	
	<li class="fieldcontain ${hasErrors(bean: team, field: 'description', 'error') } required">
		<label for="description">
			<g:message  code ="team.description.label" default="Description"/>
			
		</label>
		<g:textArea name="description" value="${team?.description}" rows="5" cols="40"/>
	</li>
	<li class="fieldcontain ${hasErrors(bean: team, field: 'establishedDate', 'error') } required">
		<label for="establishedDate">
			<g:message  code ="team.establishedDate.label" default="Established Date"/>	
		</label>
<%--		<g:datePicker name="establishedDate" precision="day"  value="${team?.establishedDate}"  />--%>
		<input type="text" name="establishedDate" class="input-block-level" value="${team?.establishedDate}" id="dp1">		
	</li>
</ol>
</div>
